SetDialogCancelItem
SetDialogCancelItem Tell Dialog Mgr which item should be default cancel item
Dialog Manager
OSErr SetDialogCancelItem( theDialog, newItem );
DialogPtr theDialog; dialog whose default item is being set
short newItem; item to make default
SetDialogCancelItem indicates to the Dialog Manager which item is the
default cancel item. It will alias the escape or "Command - period".
theDialog dialog whose default item is being set.
newItem item to make be the default cancel item.
Returns: error code

Notes: This routine is not yet documented in any MPW header file (hence, it is not
in any THINK C or THINK Pascal header file either). The information given
above comes from Macintosh Technical Note #304. This tech. note also gives
the inline glue for the call as follows:
short newItem) = {0x303C,0x0305,0xAA68};